home *** CD-ROM | disk | FTP | other *** search
/ United Public Domain Gold 2 / United Public Domain Gold 2.iso / utilities / pu060.dms / pu060.adf / 22 < prev    next >
Text File  |  1990-11-02  |  6KB  |  171 lines

  1. ** Requires a 1M Fatter Agnus to use **
  2.  
  3. This program is in the public domain.  Meaning you can do whatever you
  4. like with it.  As a courtesy though, if you plan to modify or do something
  5. interesting with it, I'd like to know, as I'm always interested in projects
  6. of others.
  7.  
  8.  
  9. PALCon v0.9 - PAL/NTSC Video Controller
  10. ---------------------------------------
  11.  
  12. Well, how many times have you booted up a Euro-Game or Demo and weren't
  13. able to see the bottom of the screen because it was coded for PAL?
  14.  
  15. If your A2000 has the newer 1Meg Fatter Agnus chip in it, you are in luck!
  16. PALCon will allow you to switch video modes and actually display a full
  17. PAL resolution screen!
  18.  
  19.  
  20. How to use
  21. ----------
  22.  
  23. Simply type PALCON from the CLI (or run it from Workbench if you like..
  24. I haven't bothered to create an Icon for it..but it WILL start from
  25. either CLI or Workbench). You should get:
  26.  
  27.  
  28.  
  29.     PALCon - NTSC/PAL Video Controller v0.9
  30.     (c)1990 RomBase Productions - ICE9 9006.01
  31.  
  32.     VSEG Installed. 
  33.     >> RESET Amiga to Boot Up in PAL Mode <<
  34.  
  35.  
  36.  
  37. Now the next time you reset your machine, voila! You will boot up
  38. in PAL mode! 
  39.  
  40. Note: You may have to adjust your monitor so that the screen fits. If you
  41. have a 1080 monitor, this is done by the little setscrews in the back.
  42. The 1084 will automagically adjust itself.
  43.  
  44.  
  45. More Details
  46. ------------
  47.  
  48. PALCon actually toggles between PAL and NTSC modes.  It looks to see what
  49. your machine is currently displaying and sets it up for the opposite mode.
  50.  
  51. In otherwords, if your machine is currently displaying NTSC, PALCon will
  52. put it in PAL mode after reset.  Likewise if you have your machine in
  53. PAL mode, PALCon will reboot your machine in NTSC.
  54.  
  55.  
  56. How it's Done
  57. -------------
  58.  
  59. Previous Amigas required entirely different chips to determine whether they
  60. operated in PAL or NTSC mode.  Yet with the advent of the 1 Meg Fatter
  61. Agnus chip, Commodore engineers added the ability to switch between 
  62. between the two modes.  This was probably done to reduce costs (now only
  63. 1 set of chips needed instead of separate PAL and NTSC versions) and
  64. thus simplify production.
  65.  
  66.  
  67. The Hard Way
  68. ------------
  69.  
  70. An early article appeared in the C-A Developer's Newsletter describing a
  71. hardware mod on the inside of the A2000 to give it this ability.  If
  72. you plan to leave your machine set permanently to PAL, this is probably
  73. the way to go. I won't describe how to do it here.  If you're really
  74. serious about this and are reasonably competent with hardware hacking,
  75. you'll find out how :-> Contact CATS (Commodore-Amiga Technical Support) or
  76. call The Creative Edge (below).
  77.  
  78.  
  79. The Softer Way
  80. --------------
  81.  
  82. A similar solution to PALCon came from Europe in the form of the PALBoot.
  83. This was a boot block type program that switched your machine to PAL when
  84. booted with a PALBoot disk.  The biggest problem with this is if you have
  85. a harddrive. PALBoot does indeed kick a machine into PAL mode, but it 
  86. doesn't finish autoconfiguring other devices.  Then too, this was only
  87. one way. It allowed NTSC machines to switch to PAL, but not vice versa.
  88.  
  89. If you need PAL mode primarily for games (most of which are entirely 
  90. disk-based), (or you don't have a harddisk) PALBoot is ok.
  91.  
  92. (Selfish Motive: Because of a direct call to a ROM routine, PALBoot doesn't
  93.                  work with a A2630 board in 030 mode. PALCon will.)
  94.  
  95.  
  96. The Softest Way
  97. ---------------
  98.  
  99. PALCon goes in a different direction in that you boot your system as
  100. normal.  When PALCon is run, it installs a resident program in the system
  101. ColdCapture vector.  This little program is invoked upon a system reset,
  102. and at this point switches your machine to PAL/NTSC, and finishes 
  103. booting the system.  Thus you can still boot from your harddrive and
  104. have any fast-ram autoconfigured.  
  105.  
  106. (Note: Since this program does a somewhat *bad* thing by modifying a 
  107. system vector, some virus checkers (notably VirusX) may report a change 
  108. in the ColdCapture vector. This is NOT a virus, but the resident portion 
  109. of PALCon. Does this make you uncomfortable? 
  110.  
  111. Solution = Reboot the system IMMEDIATELY after running PALCon..)
  112.  
  113.  
  114. Incidently, if you try to run PALCon several times without rebooting,
  115. (you run it say, twice in a row), it won't reload the resident switching
  116. program.  Instead, each time PALCon is run, it looks to see if there
  117. is resident code present, if so, it merely updates the existing parameters.
  118.  
  119.  
  120. Last stuffs
  121. -----------
  122.  
  123. Well I hope this utility proves useful.  I'm happy to see most developers
  124. are providing support for PAL resolutions in their programs. Really, this
  125. gives about 20% more screen area over NTSC..which is of course, very nice.
  126.  
  127. PALCon is little over 2100 bytes and is written in assembly using
  128. the Devpac Assembler. Highly recommended for anyone who doesn't want to
  129. grow old waiting for source code to assemble..
  130.  
  131. I'm sorry for the disarray of this doc file.  PALCon and this doc was
  132. hacked together in the past two hours and I seriously need to get to bed.
  133.  
  134. I'd greatly welcome any/all suggestions or input you have in regards to
  135. this program. 
  136.  
  137.                 - ICE9 (aka V. Yanagida)
  138.                   9006.01
  139.  
  140. 98-453-2 Kaonohi St.
  141. Aiea, Hawaii 96701
  142.  
  143.  
  144. or call:
  145.  
  146.  
  147. The Creative Edge
  148. (808) 487-6977
  149. 24 Hrs
  150. 300/1200/2400 Baud.
  151.  
  152.  
  153. Late Notes
  154. ----------
  155.  
  156. 1) I forgot to mention that this program has a faulty memory. In otherwords,
  157.    if you use it to switch to PAL, then reboot the machine again, it will
  158.    default back to it's 'native' video mode.  I was working on trying to
  159.    get the resident portion of PALCon to survive subsequent resets better,
  160.    but haven't quite finished. It was supposed to keep the resident portion
  161.    in memory always and only change modes when told to.  (This is why
  162.    this version is 0.9)
  163.  
  164.  
  165. 2) From what I hear, the A3000(!) and Workbench 2.0 will have a setting in
  166.    Preferences to select between PAL and NTSC, thus rendering this program
  167.    obsolete. It's just that I don't want to have to wait until fall of 1990
  168.    (expected WB2.0 release date) for this...
  169.  
  170.  
  171.